Release 10.1A: OpenEdge Development:
ADM Reference
fetchMessages
Returns a delimited list of all messages in their raw form. The message log is cleared.
Location: smart.p Parameters: None Returns: CHARACTER (specially formatted message string). Notes:
- The fetchMessage procedure is not normally expected to be used by application code. The showDataMessages function can be used—and customized if desired—to parse this specially formatted message string into a series of error messages.
- The message list is delimited by CHR(3); within each message, the Message Text, the Field (if any), and the Table (if any) are delimited by CHR(4).
- The fetchMessages function clears the message log, and it is the responsibility of the calling procedure to display the messages or handle them appropriately. Use the similar function reviewMessages to read messages without deleting them.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |